package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitLinesTailsRouter(Router *gin.RouterGroup) {
	LinesTailsRouter := Router.Group("linesTails").Use(middleware.OperationRecord())
	{
		LinesTailsRouter.POST("createLinesTails", v1.CreateLinesTails)   // 新建LinesTails
		LinesTailsRouter.DELETE("deleteLinesTails", v1.DeleteLinesTails) // 删除LinesTails
		LinesTailsRouter.DELETE("deleteLinesTailsByIds", v1.DeleteLinesTailsByIds) // 批量删除LinesTails
		LinesTailsRouter.PUT("updateLinesTails", v1.UpdateLinesTails)    // 更新LinesTails
		//LinesTailsRouter.GET("findLinesTails", v1.FindLinesTails)        // 根据ID获取LinesTails
		LinesTailsRouter.GET("getLinesTailsList", v1.GetLinesTailsList)  // 获取LinesTails列表
	}
}
